/***************************************************************************
 * 文件名:AccountDTO.java<br>
 * 版本: <br>
 * 描述: <br>
 * 版权所有: <br>
 * //////////////////////////////////////////////////////// <br>
 * 创建者: robo<br>
 * 创建日期: 2010-12-20 <br>
 * 修改者: <br>
 * 修改日期: <br>
 * 修改说明: <br>
 **************************************************************************/
package com.sunwayhorizo.health.business.dto.security;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class AccountDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	//主键
	private String accountId;
	
	//登录账号
	private String accountCode;
	
	//人员名称
	private String accountName;
	
	//人员Id
	private String personId;
	
	//密码
	private String passwd;
	
	private String createBy;
	private String createByName;
	private Timestamp createDate;
	
	//工作组id列表
	private List<String> workgroupIds=new ArrayList<String>();
	
	//科室名称
	private String departmentName;
	
	//角色名称
	private String roleName;
	
	//角色Id列表
	private List<String> roleIds=new ArrayList<String>();
	
	//描述
	private String description;
	
	@Override
	public String toString() {
		return "AccountDTO [\n主键=" + accountId + ",\n 登录账号="
				+ accountCode + ",\n 人员名称=" + accountName
				+ ",\n 人员Id=" + personId + ",\n 密码=" + passwd
				+ ",\n 创建人=" + createBy + ",\n 创建人名称="
				+ createByName + ",\n 创建时间=" + createDate
				+ ",\n 工作组ids=" + workgroupIds + ",\n 角色Id列表=" + roleIds
				+ ",\n 描述=" + description + "]";
	}
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	public String getAccountCode() {
		return accountCode;
	}
	public void setAccountCode(String accountCode) {
		this.accountCode = accountCode;
	}
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	public String getPersonId() {
		return personId;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public String getCreateByName() {
		return createByName;
	}
	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}
	public Timestamp getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public List<String> getWorkgroupIds() {
		return workgroupIds;
	}
	public void setWorkgroupIds(List<String> workgroupIds) {
		this.workgroupIds = workgroupIds;
	}
	public List<String> getRoleIds() {
		return roleIds;
	}
	public void setRoleIds(List<String> roleIds) {
		this.roleIds = roleIds;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}


